package com.yehui.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Controller;

/**
 * 不扫描controller
 */
@Configuration
@ComponentScan(value = "com.yehui",excludeFilters = {
		@ComponentScan.Filter(type = FilterType.ANNOTATION,value = Controller.class)
})
public class SpringConfig {
	//SpringMVc的父容器
}
